package com.emode.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Bbsreply entity. @author MyEclipse Persistence Tools
 */

public class Bbsreply implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -4898421738384906809L;
	private Integer rid;
	private Bbstopic bbstopic;
	private Bbssection bbssection;
	private Bbsusers bbsusers;
	private String rcontent;
	private Date rtime;
	private Integer rclickcount;
	private Set bbsreplies = new HashSet(0);

	// Constructors

	/** default constructor */
	public Bbsreply() {
	}

	/** minimal constructor */
	public Bbsreply(Bbstopic bbstopic, Bbssection bbssection,
			Bbsreply bbsreply, Bbsusers bbsusers, String rcontent) {
		this.bbstopic = bbstopic;
		this.bbssection = bbssection;
		this.bbsusers = bbsusers;
		this.rcontent = rcontent;
	}

	/** full constructor */
	public Bbsreply(Bbstopic bbstopic, Bbssection bbssection,
			Bbsreply bbsreply, Bbsusers bbsusers, String rcontent,
			Date rtime, Integer rclickcount, Set bbsreplies) {
		this.bbstopic = bbstopic;
		this.bbssection = bbssection;
		this.bbsusers = bbsusers;
		this.rcontent = rcontent;
		this.rtime = rtime;
		this.rclickcount = rclickcount;
		this.bbsreplies = bbsreplies;
	}

	// Property accessors

	public Integer getRid() {
		return this.rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public Bbstopic getBbstopic() {
		return this.bbstopic;
	}

	public void setBbstopic(Bbstopic bbstopic) {
		this.bbstopic = bbstopic;
	}

	public Bbssection getBbssection() {
		return this.bbssection;
	}

	public void setBbssection(Bbssection bbssection) {
		this.bbssection = bbssection;
	}


	public Bbsusers getBbsusers() {
		return this.bbsusers;
	}

	public void setBbsusers(Bbsusers bbsusers) {
		this.bbsusers = bbsusers;
	}

	public String getRcontent() {
		return this.rcontent;
	}

	public void setRcontent(String rcontent) {
		this.rcontent = rcontent;
	}

	public Date getRtime() {
		return this.rtime;
	}

	public void setRtime(Date rtime) {
		this.rtime = rtime;
	}

	public Integer getRclickcount() {
		return this.rclickcount;
	}

	public void setRclickcount(Integer rclickcount) {
		this.rclickcount = rclickcount;
	}

	public Set getBbsreplies() {
		return this.bbsreplies;
	}

	public void setBbsreplies(Set bbsreplies) {
		this.bbsreplies = bbsreplies;
	}

}